package com.ax.base.drugproducer.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class BaseProducer {
    /**
     * 药品厂家ID
     */
    private Long producerId;

    /**
     * 药品厂家名称
     */
    private String producerName;

    /**
     * 拼音首字母
     */
    private String firstLetter;

    /**
     * 法定代表人姓名
     */
    private String legalPersonName;

    /**
     * 法定代表人身份证号
     */
    private String legalPersonId;

    /**
     * 社会信用代码
     */
    private String creditCode;

    /**
     * 注册日期
     */
    private String regDate;

    /**
     * 注册资金(万元)
     */
    private BigDecimal regCapital;

    /**
     * 行政区划代码
     */
    private String areaCode;

    /**
     * 行政区划名称
     */
    private String areaName;

    /**
     * 地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 银行帐号
     */
    private String account;

    /**
     * 开户行
     */
    private String bank;

    /**
     * 药品厂家简介
     */
    private String introduction;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态(1：有效；0：注销)
     */
    private Integer flag;
    
  //省市区
  	private String province;
  	
  	private String city;
  	
  	private String village;
  	
  	

    public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getVillage() {
		return village;
	}

	public void setVillage(String village) {
		this.village = village;
	}

	public BaseProducer(Long producerId, String producerName, String firstLetter, String legalPersonName, String legalPersonId, String creditCode, String regDate, BigDecimal regCapital, String areaCode, String areaName, String address, String phone, String account, String bank, String introduction, String remarks, Date createDate, Date updateDate, Integer flag) {
        this.producerId = producerId;
        this.producerName = producerName;
        this.firstLetter = firstLetter;
        this.legalPersonName = legalPersonName;
        this.legalPersonId = legalPersonId;
        this.creditCode = creditCode;
        this.regDate = regDate;
        this.regCapital = regCapital;
        this.areaCode = areaCode;
        this.areaName = areaName;
        this.address = address;
        this.phone = phone;
        this.account = account;
        this.bank = bank;
        this.introduction = introduction;
        this.remarks = remarks;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.flag = flag;
    }

    public BaseProducer() {
        super();
    }

    public Long getProducerId() {
        return producerId;
    }

    public void setProducerId(Long producerId) {
        this.producerId = producerId;
    }

    public String getProducerName() {
        return producerName;
    }

    public void setProducerName(String producerName) {
        this.producerName = producerName == null ? null : producerName.trim();
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter == null ? null : firstLetter.trim();
    }

    public String getLegalPersonName() {
        return legalPersonName;
    }

    public void setLegalPersonName(String legalPersonName) {
        this.legalPersonName = legalPersonName == null ? null : legalPersonName.trim();
    }

    public String getLegalPersonId() {
        return legalPersonId;
    }

    public void setLegalPersonId(String legalPersonId) {
        this.legalPersonId = legalPersonId == null ? null : legalPersonId.trim();
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode == null ? null : creditCode.trim();
    }

    public String getRegDate() {
		return regDate;
	}

	public void setRegDate(String regDate) {
		this.regDate = regDate;
	}

	public BigDecimal getRegCapital() {
        return regCapital;
    }

    public void setRegCapital(BigDecimal regCapital) {
        this.regCapital = regCapital;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode == null ? null : areaCode.trim();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}